package com.shareach.dao.mongoext;


import java.util.List;

/**
 * 查询辅助类
 * 
 * @author zuoshuaiok@gmail.com
 * 
 */
public class BaseQuery {
	
	public BaseQuery(List<Where> whereList, String select, String groupBy) {
		super();
		this.whereList = whereList;
		this.select = select;
		this.groupBy = groupBy;
	}

	public BaseQuery() {
	}

	List<Where> whereList;
	private String select;

	private String groupBy;

	public String getGroupBy() {
		return groupBy;
	}

	public String getSelect() {
		return select;
	}

	public List<Where> getWhereList() {
		return whereList;
	}

	public BaseQuery setGroupBy(String groupBy) {
		this.groupBy = groupBy;
		return this;
	}

	public BaseQuery setSelect(String select) {
		this.select = select;
		return this;
	}

	public BaseQuery setWhereList(List<Where> whereList) {
		this.whereList = whereList;
		return this;
	}

}

 
